/*
 * @LastEditTime: 2023-02-20 16:32:16
 */
import { Mongoose } from "../DB/index";
// import { AlbumType } from "../Types/interface";

const AlbumSchema = new Mongoose.Schema({
    //专辑唯一标识
    _id: String,
    // 专辑名称
    title: String,
    //封面
    cover: String,
    // 演唱者
    singer: [Object],
    //播放地址
    link: String,
    //发布时间
    time: String,
    //专辑出品商
    company: String,
    //特别介绍
    alias: Object,
    // 主要演唱者
    firstSinger: [Object],
},
    { timestamps: true });

export const Album = Mongoose.model("album", AlbumSchema);


